package com.todomvc.fw;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

public class NavigationHelper extends HelperWithWebDriverBase {
	
	public NavigationHelper(ApplicationManager applicationManager) {
		super(applicationManager);
	}
	
	public void openMainPage() {
		driver.get("http://todomvc.com/");
	}
	
	public WebElement findNewTodoElement() {
		return driver.findElement(By.id("new-todo"));
	
	}
	
	public WebElement findTodosElement() {
		return driver.findElement(By.id("new-todo"));
	
	}

	
	public void openAngularPage() {
		driver.get("http://todomvc.com/architecture-examples/angularjs/#/");
	}


}
